package com.bootdo.dj.dao;

import com.bootdo.dj.domain.ArticleDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-01-14 18:30:53
 */
@Mapper
public interface ArticleDao {

	ArticleDO get(String id);
	
	List<ArticleDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(ArticleDO article);
	
	int update(ArticleDO article);
	
	int remove(String id);
	
	int batchRemove(String[] ids);
}
